home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2007 September / PCWSEP07.iso / Software / Linux / Linux Mint 3.0 Light / LinuxMint-3.0-Light.iso / casper / filesystem.squashfs / usr / include / pidgin / gtkthemes.h < prev    next >
Encoding:
C/C++ Source or Header  |  2007-05-04  |  1.6 KB  |  54 lines

  1. /**
  2.  * @file gtkthemes.h GTK+ Smiley Theme API
  3.  * @ingroup pidgin
  4.  *
  5.  * pidgin
  6.  *
  7.  * Pidgin is the legal property of its developers, whose names are too numerous
  8.  * to list here.  Please refer to the COPYRIGHT file distributed with this
  9.  * source distribution.
  10.  *
  11.  * This program is free software; you can redistribute it and/or modify
  12.  * it under the terms of the GNU General Public License as published by
  13.  * the Free Software Foundation; either version 2 of the License, or
  14.  * (at your option) any later version.
  15.  *
  16.  * This program is distributed in the hope that it will be useful,
  17.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  18.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  19.  * GNU General Public License for more details.
  20.  *
  21.  * You should have received a copy of the GNU General Public License
  22.  * along with this program; if not, write to the Free Software
  23.  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  24.  */
  25. #ifndef _PIDGINTHEMES_H_
  26. #define _PIDGINTHEMES_H_
  27.  
  28. struct smiley_list {
  29.     char *sml;
  30.     GSList *smileys;
  31.     struct smiley_list *next;
  32. };
  33.  
  34. struct smiley_theme {
  35.     char *path;
  36.     char *name;
  37.     char *desc;
  38.     char *icon;
  39.     char *author;
  40.  
  41.     struct smiley_list *list;
  42. };
  43.  
  44. extern struct smiley_theme *current_smiley_theme;
  45. extern GSList *smiley_themes;
  46.  
  47. void pidgin_themes_init(void);
  48. gboolean pidgin_themes_smileys_disabled(void);
  49. void pidgin_themes_smiley_themeize(GtkWidget *);
  50. void pidgin_themes_smiley_theme_probe(void);
  51. void pidgin_themes_load_smiley_theme(const char *file, gboolean load);
  52. GSList *pidgin_themes_get_proto_smileys(const char *id);
  53. #endif /* _PIDGINDIALOGS_H_ */
  54.